package cn.snowtech.bluebox.dto.medicine;

import cn.snowtech.bluebox.dto.BaseRequestDTO;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 药品请求DTO.
 */
public class MedicineRequestDTO extends BaseRequestDTO {
    @JsonProperty("name")
    @NotBlank(message = "药品名称不能为空")
    private String name;
    @JsonProperty("remindDate")
    private String remindDate;
    @JsonProperty("memo")
    private String memo;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemindDate() {
        return remindDate;
    }

    public void setRemindDate(String remindDate) {
        this.remindDate = remindDate;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
